package com.ruoyi.hr.mapper.welfare.welfarechange;

import com.ruoyi.hr.domain.Authority;
import com.ruoyi.hr.domain.welfare.welfarechange.WelfareChange;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WelfareChangeMapper {
    List<WelfareChange> findDataWelfareChange(@Param("welfareChange") WelfareChange welfareChange, @Param("authorities") List<Authority> authorities, @Param("isAdmin") int isAdmin);

    String executeProcedure(@Param("sql") String sql);

    WelfareChange findWelfareChangeById(String id);

    int updateWelfareChange(WelfareChange welfareChange);
}
